package com.lsj.gulimall.auth.feign;

import com.lsj.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 梁胜君
 * @version 1.0
 * @create 2022/4/1 17:59
 */
@FeignClient("gulimall-third-party")
public interface ThirdPartySmsService {

    @RequestMapping("/sms/sendCode")
    public R sendCode(@RequestParam("phone") String phone, @RequestParam("code") String code);
}
